
{extend name="index/admin-index" /}
{block name="main"}
</style>
  <!-- content start -->
  <div class="admin-content">
    <div class="admin-content-body">
      <div class="am-cf am-padding am-padding-bottom-0">
        <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">管理员列表</strong> / <small>Admin list</small></div>
      </div>

      <hr/>

           <table class="am-table am-table-bd am-table-striped admin-content-table">
            <thead>
            <tr>
              <th><a href="/admin/Jurisdiction/add" class='btn btn-primary' style='color:#fff;'>添加</a></th>
            </tr>
            <tr>
              <th  class="text-center">ID</th><th  class="text-center">Admin</th><th  class="text-center">职位</th><th  class="text-center">管理</th>
            </tr>
            </thead>
            <tbody>
             {volist name='data' id='vo'}
            <tr>
            <td  class="text-center">{$vo.id}</td>
            <td  class="text-center">{$vo.name}</td>
            <td  class="text-center">{$vo.name}</td>
            <td  class="text-center">
                <div class="am-dropdown" data-am-dropdown>
                  <button class="am-btn am-btn-default am-btn-xs am-dropdown-toggle" data-am-dropdown-toggle><span class="am-icon-cog"></span> <span class="am-icon-caret-down"> </span></button>
                  <ul class="am-dropdown-content">
                 
                   
                    <li><a href="/admin/Jurisdiction/jobset?id={$vo.id}">1.职位设置</a></li>
                    <li><a href="/admin/Jurisdiction/edit?id={$vo.id}">2.修改</a></li>
                    <li><a data-toggle="modal" data-target="#myModal{$i}">3.删除账号</a></li>
                  </ul>
                </div>
            </td>
            </tr>
            <!-- Modal -->
                        <div class="modal fade" id="myModal{$i}" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" >
                          <div class="modal-dialog" role="document" style="margin-top:80px">
                            <div class="modal-content">
                              <div class="modal-header">
                                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                                <h4 class="modal-title" id="myModalLabel">消息提醒</h4>
                              </div>
                              <div class="modal-body">
                               你确定要删除?
                              </div>
                              <div class="modal-footer">
                                <button type="button" class="btn btn-default"><a href="{:url('/admin/Jurisdiction/del',['id'=>$vo.id])}">确定</a></button>
                                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                              </div>
                            </div>
                          </div>
                        </div>
       
            {/volist}
           
            </tbody>
          </table>
      <div class="am-g">
        <div class="am-u-sm-12">
          
        </div>
      </div>

  

    </div>

<a href="#" class="am-icon-btn am-icon-th-list am-show-sm-only admin-menu" data-am-offcanvas="{target: '#admin-offcanvas'}"></a>
 
<footer>
  <hr>
  <p class="am-padding-left">© 2014 AllMobilize, Inc. Licensed under MIT license.</p>
</footer>
  </div>
{/block}